package com.itheima.demo1;

public class System1 {
    public static void main(String[] args) {

        long l = System.currentTimeMillis();
        long i = l / 1000 / 60 / 60 ;
        long d = i / 24;
        long n = d / 365;
        System.out.println(l);
        System.out.println(i);
        System.out.println(d);
        System.out.println(n);

        int[] arr1 = {1,2,3,4,5,6,7,8,9,10};
        int[] arr2 = new int[10];

        System.arraycopy(arr1,0,arr2,4,3);

        for (int x = 0; x < arr2.length; x++) {
            System.out.print(arr2[x] + " ");
        }
    }
}
